package com.example.repository;

import com.example.index.Book;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;


public interface BookRepository extends ElasticsearchRepository<Book, Long> {
    List<Book> findByBookName(String bookName);
}
